package com.chianghao.auth.core;

import com.chianghao.auth.enums.AuthCheckResult;

public class AuthResult {

    /**
     * 0 表示认证授权验证通过，1表示需要认证  2表示需要授权
     */
    private AuthCheckResult resule;

    /**
     * 用户基本信息
     */
    private String userId;

    /**
     * 失败信息
     */
    private String failMessage;
    

	public AuthCheckResult getResule() {
		return resule;
	}

	public void setResule(AuthCheckResult resule) {
		this.resule = resule;
	}

	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getFailMessage() {
        return failMessage;
    }

    public void setFailMessage(String failMessage) {
        this.failMessage = failMessage;
    }
}
